<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>IOManager | System </title>
        <link rel="stylesheet" href="/css/estilos.css" type="text/css" media="screen" />

        <!--[if IE]>
        <link rel="stylesheet" href="/css/estilosie.css" type="text/css" media="screen" />
        <![endif]-->

    </head>
    <body>
   
        <div id="alineador">
            <div id="contenedor">
                <div id="cabecera">
                    <img id="logo" src="/img/logo1.png" alt="Mil Reservas" />
                </div>
                <div id="cuerpo">
                    <h3>Error has happened. Inside this application. Sorry about that.</h3>
                    <p><?=$this->message ?> (<?=$this->code ?>) </p>

                    <?if( $this->mode ):?>

                        <?if ( isset($this->info ) ):?>

                             <?if ( 404 == $this->code ):?>

                                <p><b>Reason:</b> <?= $this->info?> </p>

                             <?elseif (500 == $this->code):?>

                                <p>Bad server!<br /></p>


                             <?endif?>
                            <h4>Exception information:</h4>
                                <p><b>Message:</b>  <?=$this->exception->getMessage()?> </p>
                            <h4>Stack trace:</h4>
                            <pre><p style="word-wrap: break-word"><?=$this->exception->getTraceAsString()?></p></pre>
                        <?endif?>
                     <?endif?>

                </div>
            </div>
            
        </div>
    </body>
</html>